package com.hy.convenient.service.login;

import com.hy.convenient.dao.DataMethods;
import com.hy.convenient.dao.login.GoodItemMapperExtend;
import com.hy.convenient.pojo.login.GoodItemPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GoodItemMapperService implements DataMethods<GoodItemPojo> {
    @Autowired
    private GoodItemMapperExtend goodItemMapper;

    public List<GoodItemPojo> queryAll(Map<String ,Object> map){
        return  goodItemMapper.queryAll(map);
    }
    public int queryConut(Map<String ,Object> map){
        return  goodItemMapper.queryConut(map);
    }

    @Override
    public List<GoodItemPojo> queryConditionList(Map<String, Object> map) {
        return null;
    }

    @Override
    public GoodItemPojo queryCondition(Map<String, Object> map) {
        return null;
    }
}
